- content_for :header_left do
  = "Edit #{label_resource_class}: '#{label_resource}'"
- content_for :header_right do
  #action_bar
    = link_to_back
    = link_to_show @resource, 'Show ' if resource_admin_config.default_member_actions(@resource).include?(:show)

= error_messages_for @resource

%div{id: resource_class_underscore}
  = semantic_form_for([:admin, @resource], url: admin_resource_path(@resource.id), as: resource_class_underscore, method: :put, html: { method: :put }  ) do |f|
    %div{id: "#{resource_class_underscore}-edit"}
      = render :partial => 'form', :locals => { :f => f }
      = submit_tag "Update"
